package com.cookbook.database.data;

import com.cookbook.database.model.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentMapper {
    void insert(@Param("comment") Comment comment);

    List<Comment> selectWithOffset(
            @Param("shareId") Integer shareId,
            @Param("offset") Integer offset,
            @Param("limit") Integer limit);
}